/* 头部 */
header{
    height: 35px;
    background-color: #f5f5f5;
}
.top{
    height: 35px;
    /* background-color: orange; */
    position: relative;
}
.top>.top-left{
    width: 320px;
    height: 35px;
    /* background-color: springgreen; */
    float: left;
   
}
.top>.top-left>li,
.top>.top-right>li
{
    float: left;
    color: #3c3c3c;
    font-size: 12px;
    line-height: 35px;
    padding: 0px 6px;
    margin-right: 7px;
}
.top>.top-left>li:not(:first-child):hover{
    color: red;
}
.top>.top-left>.on_off a{
    color: red;
}
.top>.top-left>.on_off>.on,
.top>.top-left>.on_off>.off
{
    position: absolute;
    left: 67px;
    top: 0px;
    display: none;
   
}
.top>.top-left>.on_off>span.active{
    display: block;
}
.top>.top-right{
    width: 674px;
    height: 35px;
    /* background-color: red; */
    float: right;
}
.top>.top-right>li>span{
    color: red;
    font-size: 12px;
    margin: 0 5px;   
}
.top>.top-right>li:hover{
    color: red;
}
/* 网站导航二级菜单 */
.web-nav:hover>.nav{
    display: block;
    color: #3c3c3c;
}
.nav{
    min-height: 260px;
    background-color: white;
    position: absolute;
    right: 0;
    display: none;
    z-index: 1000;
}
.nav>div{
    width: 24.5%;
    float: left;
    border-right: 1px solid #ccc;
    
}
.nav>div:last-child{
    border-right: none;
}

.nav>div>p{
    font-size: 18px;
    color: orange;
    font-weight: bold;
    line-height: 22px;
    margin: 10px 0px 10px 5px;
}
.nav>div>ul{
    float: left;
    margin-left: 10px;
    margin-right: 30px;
}
.nav>div>ul>li{
    padding: 0 5px;
    text-align: center;
}
.nav>div>ul>li:hover{
    background-color: orange;
    color: #fff;
}

/* 搜索框 */
.searchBox{
    height: 60px;
    /* background-color: skyblue; */
    padding-top: 17px;
    box-sizing: border-box;
}
.searchBox>.logo{
    width: 75px;
    height: 43px;
    float: left;
    padding-left: 8px;
}
.searchBox>.search{
    width: 800px;
    height: 31px;
    border: 2px solid #f50;
    margin-left: 150px;
    float: left;
    display: flex;
    
    position: relative;
}
.searchBox>.search>.baobei{
    width: 67px;
    height: 31px;
    background-color: #f5f5f5;
    text-align: center;
    line-height: 31px;
    font-size: 12px;
}
.searchBox>.search>input{
    
    border: 0;
    width: 630px;
    height: 31px;
    padding: 0 8px;
    box-sizing: border-box;
    
}
.searchBox>.search>button{
    display: block;
    border: 0;
    height: 35px;
    flex: 1;
    color: #fff;
    background-color: #f50;
    cursor: pointer;
    position: relative;
    top: -2px;
    left: 1px;
}
.searchBox>.search>ul{
    width: 629px;
    border: 1px solid lightgray;
    position: absolute;
    top: 30px;
    left: 67px;
    display: none;
    background-color: #fff;
}
.searchBox>.search>ul>li{
    line-height: 25px;
    font-size: 14px;
    padding-left: 8px; 
}  

/* 所有宝贝 */
.sort{
    /* background-color: lightpink; */
}
.sort>.all{
    width: 1070px;
    /* background-color: skyblue; */
}

.sort>.all>.baby{
    padding-top: 15px;
    height: 40px;
    /* background-color: springgreen; */
    border-bottom: 2px solid #f50;  
}
.sort>.all>.baby>p{
    float: left;
    width: 104px;
    height: 38px;
    font-size: 14px;
    line-height: 38px;
    padding: 0 20px;
    text-align: center;
}
.sort>.all>.baby>p:first-child{
    color: white;
    background-color: #f50;

}
.sort>.all>.baby>p:not(:first-child):hover{
    color: white;
    background-color: #f50;
}
.sort>.all>.item{
    height: 26px;
    /* background-color: lightsalmon; */
    margin: 15px 0 15px 20px;

}
.sort>.all>.item>p{
    float: left;
    width: 70px;
    line-height: 26px;
    color: #666;
    text-align: center;
    font-size: 12px;
}
.sort>.all>.item>div{
    width:90px;
    height: 26px;
    background-color: #f6f6f6;
    color: #666;
    font-size: 12px;
    text-align: center;
    line-height: 26px;
    float: right;
    padding: 0 5px;
    border: 1px solid lightgrey;
    box-sizing: border-box;
    cursor: pointer;
}
/* 分组 */
.sort>.all>.group{
    height: 180px;
    /* background-color: magenta;  */
    /* border: 1px solid lightgrey; */
    padding: 0 3px;
    box-sizing: border-box;
}
.sort>.all>.group>li{
    border-bottom: 1px dashed lightgrey;
}
.sort>.all>.group>.mold{
    height: 100px;
    display: flex;
    align-items: center;
    
   

}

.sort>.all>.group>.mold>div{
    width: 70px;
    line-height: 100px;
    font-size: 12px;
    color: lightgrey;
    padding-left: 17px;
    /* background-color: yellow;  */
}

.sort>.all>.group>.mold>ul{
    flex: 1;
    height: 100px;
    /* background-color: lime; */
    padding: 15px;
    box-sizing: border-box;
    padding-top: 35px;
}
.sort>.all>.group>.filt>ul>li,
.sort>.all>.group>.mold>ul>li{
    cursor: pointer;
    float: left;
    padding: 0 3px;
    line-height: 30px;
    font-size: 12px;
    margin-right: 42px;
}

.sort>.all>.group>.filt>ul>li.active,
.sort>.all>.group>.mold>ul>li.active{
    background-color: #f50;
    color: #fff;
}
.sort>.all>.group>.filt{
    height: 35px;
    display: flex;
    align-items: center;
    /* background-color: lime; */
}
.sort>.all>.group>.filt>div{
    width: 70px;
    line-height: 35px;
    font-size: 12px;
    color: lightgrey;
    padding-left: 17px;
}
.sort>.all>.group>.filt>ul{
    flex: 1;
    height: 35px;
    /* background-color: lime; */
    padding-left: 12px;
    padding-top: 5px;
    box-sizing: border-box;
}
.sort>.all>.sorttype{
    height: 50px;
    /* background-color: greenyellow; */
    border: 1px solid lightgrey;
    display: flex;
}
.sort>.all>.sorttype>p{
    width: 70px;
    line-height: 50px;
    font-size: 12px;
    color: lightgrey;
    padding-left: 20px;
}
.sort>.all>.sorttype>div{
    
    height: 50px;
    /* background-color: lime; */
    padding-left: 12px;
    padding-top: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
.sort>.all>.sorttype>.price{
    width: 200px;
    /* background-color: orange; */
    margin-right: 30px;
}
.sort>.all>.sorttype>.price>input{
    width: 50px;
    height: 22px;
    border: 1px solid lightgray;
    margin: 0 4px;
    
}
.sort>.all>.sorttype>.price>button{
    width: 50px;
    height: 24px;
    background-color: #fff;
    border: 1px solid lightgray;
    cursor: pointer;
}
.sort>.all>.sorttype>.price_collection{
    width: 260px;
    /* background-color: red; */
    display: flex;
}
.sort>.all>.sorttype>.price_collection>span{
    width: 75px;
    height: 24px;
    border: 1px solid lightgray;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
}
/* 商品列表 */
.sort>ul{
    margin-top: 30px;
    /* height: 1000px; */
    /* background-color: lightpink; */
    padding: 9px;
}
.sort>ul>li{
    float: left;
    margin-right: 5px;
    width: 230px;
    height: 430px;
    margin-bottom: 10px;
    
    position: relative;
    box-sizing: border-box;
}
.sort>ul>li:hover{
   border: 1px solid #f50;
    box-sizing: border-box;
    
}
.sort>ul>li:nth-child(5n){
    margin-right: 0;
}
.sort>ul>li>.pic{
    height: 290px;
}
.sort>ul>li>.desc{
    height: 180px;
    /* background-color: lime; */
    padding: 0 5px;
}
.sort>ul>li>.desc>.best_sallers,
.sort>ul>li>.desc>.shop,
.sort>ul>li>.desc>.info{
    height: 22px;
    padding-top: 10px;
    /* background-color: yellow;    */
}
.sort>ul>li>.desc>.best_sallers>p,
.sort>ul>li>.desc>.shop>p,
.sort>ul>li>.desc>.info>p{
    float: left;
}
.sort>ul>li>.desc>.info>.price{
    width: 60px;
    color: #f50;
    font-size: 18px;
    line-height: 16px;  
}
.sort>ul>li>.desc>.info>.baoyou{
    color: #fff;
    background-color: #f50;
    font-size: 10px;
    height: 16px;
    width: 27px;
    text-align: center;
    line-height: 16px;
    margin-left: 5px;
}
.sort>ul>li>.desc>.info>.purse{
    float: right;
    width: 76px;
    height: 22px;
    color: #ccc;
    font-size: 14px;
}
.sort>ul>li>.desc>.title{
    height: 40px;
    line-height: 20px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
}

.sort>ul>li>.desc>.shop>p{
    line-height: 22px;
    font-size: 12px;
    float: left;
}
.sort>ul>li>.desc>.shop>p:first-child{
    color: mediumspringgreen;
}
.sort>ul>li>.desc>.shop>p:nth-child(2){
    color: #888888;
    text-decoration: underline;
}
.sort>ul>li>.desc>.shop>p:nth-child(3){
    float: right;
    color: #888888;
}
.sort>ul>li>.desc>.best_sallers{
    /* background-color: red; */
}
.sort>ul>li>.desc>.best_sallers>.adi{
    width: 49px;
    height: 16px;
    line-height: 16px;
    background-color: #f50;
    color: #fff;
    text-align: center;
    font-size: 12px;
}
.sort>ul>li>.desc>.best_sallers>p:nth-child(2){
    width: 16px;
    height: 16px;
    line-height: 16px;
    margin-left: 5px;
}
.sort>ul>li>.desc>.best_sallers>p:nth-child(3){
    width: 16px;
    height: 16px;
    float: right;
}
.sort>ul>li>.tip2,
.sort>ul>li>.tip1{
    padding: 8px 5px;
    background-color: orange;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: absolute;
    top: 0;  
}
.sort>ul>li>.tip1{
    background-color: red;  
    right: 0;
}
.sort>ul>li>.tip2{
    right: 50px;
}

/* 分页 */
.sort>.pagination{ 
    height: 37px; 
    padding: 15px 0 0 450px;
    /* background-color: aquamarine; */
}
.sort>.pagination>div{
    float: left;
}
.sort>.pagination>div{
    /* width: 70px; */
    height: 35px;
    font-size: 14px;
    text-align: center;
    line-height: 35px;
    color: #333;
    background-color: #f6f6f6;

}
.sort>.pagination>.prev,
.sort>.pagination>.next{
    width: 70px;
    color: #3d3d3d;
    margin: 0 10px;
    cursor: pointer;
}
.sort>.pagination>div:nth-child(2){
    width:100px;
    display: flex;
}
.sort>.pagination>div:nth-child(2)>span{
    flex: 1;
    width: 30px;
    height: 35px;
}
.sort>.pagination>.pagesize{
    width: 70px;
}
.sort>.pagination>.pagesize>input{
    display: block;
    width: 50px;
    height: 25px;
    margin: 0 auto;
    margin-top: 6px; 
    border: none;
    outline: none;
    background-color: #f6f6f6;
    cursor: pointer;
}


.sort > ul > li > * {
    pointer-events: none;
}